package com.jack.bookshop.vo;

import java.math.BigDecimal;

public class CartVo {
    int id;
    int user_id;
    int book_id;
    int quantity;
    long create_gmt;
    String book_title;
    String book_image_url;
    BigDecimal book_price;
    double book_discount;
    int checked;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public long getCreate_gmt() {
        return create_gmt;
    }

    public void setCreate_gmt(long create_gmt) {
        this.create_gmt = create_gmt;
    }

    public String getBook_title() {
        return book_title;
    }

    public void setBook_title(String book_title) {
        this.book_title = book_title;
    }

    public String getBook_image_url() {
        return book_image_url;
    }

    public void setBook_image_url(String book_image_url) {
        this.book_image_url = book_image_url;
    }

    public BigDecimal getBook_price() {
        return book_price;
    }

    public void setBook_price(BigDecimal book_price) {
        this.book_price = book_price;
    }

    public double getBook_discount() {
        return book_discount;
    }

    public void setBook_discount(double book_discount) {
        this.book_discount = book_discount;
    }

    public int getChecked() {
        return checked;
    }

    public void setChecked(int checked) {
        this.checked = checked;
    }

    @Override
    public String toString() {
        return "CartVo{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", book_id=" + book_id +
                ", quantity=" + quantity +
                ", create_gmt=" + create_gmt +
                ", book_title='" + book_title + '\'' +
                ", book_image_url='" + book_image_url + '\'' +
                ", book_price=" + book_price +
                ", book_discount=" + book_discount +
                ", checked=" + checked +
                '}';
    }
}

